Skip to content

Confirm a funding request

Request

Confirms a Sent funding request. Only the user the request was sent to can confirm it, whatever their role; anyone else gets 403 with error code NOT_FUNDING_REQUEST_ADDRESSEE. The confirmation records who confirmed, their name, the time and the user agent. Returns 409 with error code FUNDING_REQUEST_NOT_PENDING when the request is no longer Sent, or FUNDING_REQUEST_CHANGED_CONCURRENTLY when it changed while the call was processed; retry then.

Security
oauth2(Required scopes: fundingRequests:respond)
Path
idstring, (uuid)required
requestIdstring, (uuid)required
curl -i -X POST \
  'https://docs.talli.ai/_mock/referencev3/swagger/v3/distribution-manager/distributions/{id}/funding-requests/{requestId}/:confirm' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
idstring, (uuid)
distributionIdstring, (uuid)
distributionNamestring
subClientIdstring or null, (uuid)
statusstring(FundingRequestStatus)
Enum:"Sent""Confirmed""Declined""Cancelled"
amountnumber, (double)
notestring or null
availableBalanceAtRequestnumber, (double)
referencestring
fundingAccountobject(FundingAccountResponse)
requestedByobject(FundingRequestActorResponse)
requestedOnstring, (date-time)
sentToobject(FundingRequestAddresseeResponse)
decidedByobject(FundingRequestActorResponse)
decidedOnstring or null, (date-time)
declineReasonstring or null
cancelledByobject(FundingRequestActorResponse)
cancelledOnstring or null, (date-time)
Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "distributionId": "3791a3de-f2a8-465d-97da-4d8e0a9d3194", "distributionName": "string", "subClientId": "0cbd3b85-fa44-4475-a987-1d9ee2a6e610", "status": "Sent", "amount": 0.1, "note": "string", "availableBalanceAtRequest": 0.1, "reference": "string", "fundingAccount": { "accountName": "string", "accountNumber": "string", "routingNumber": "string", "address": { … }, "accountHolderName": "string", "bankName": "string", "bankAddress": { … }, "acceptsWires": true }, "requestedBy": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "clientId": "string" }, "requestedOn": "2019-08-24T14:15:22Z", "sentTo": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "email": "string" }, "decidedBy": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "clientId": "string" }, "decidedOn": "2019-08-24T14:15:22Z", "declineReason": "string", "cancelledBy": { "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b", "name": "string", "clientId": "string" }, "cancelledOn": "2019-08-24T14:15:22Z" }